package com.ruoyi.system.domain;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import javax.validation.constraints.NotNull;

import java.io.Serializable;

import java.math.BigDecimal;
import org.hibernate.validator.constraints.Length;

/**
* 账户设置
* @TableName iae_account
*/

public class IaeAccount implements Serializable {

    /**
    * ID
    */
    @NotNull(message="[ID]不能为空")
    private Integer accountId;
    /**
    * 账户名称
    */
    @Size(max= 255,message="编码长度不能超过255")
    @Length(max= 255,message="编码长度不能超过255")
    private String cashName;
    /**
    * 币别id
    */
    private Integer currencyId;
    /**
    * 会计科目Id
    */
    private Integer itemsId;
    /**
    * 初始金额
    */
    private BigDecimal initialAmount;
    /**
    * 1:现金  2：银行
    */
    private Integer acStatus;
    /**
    * 账套id
    */
    private Long setAccountId;
    /**
    * 当日转账金额
    */
    private BigDecimal dailyTransferAmount;

    /**
    * ID
    */
    private void setAccountId(Integer accountId){
    this.accountId = accountId;
    }

    /**
    * 账户名称
    */
    private void setCashName(String cashName){
    this.cashName = cashName;
    }

    /**
    * 币别id
    */
    private void setCurrencyId(Integer currencyId){
    this.currencyId = currencyId;
    }

    /**
    * 会计科目Id
    */
    private void setItemsId(Integer itemsId){
    this.itemsId = itemsId;
    }

    /**
    * 初始金额
    */
    private void setInitialAmount(BigDecimal initialAmount){
    this.initialAmount = initialAmount;
    }

    /**
    * 1:现金  2：银行
    */
    private void setAcStatus(Integer acStatus){
    this.acStatus = acStatus;
    }

    /**
    * 账套id
    */
    private void setSetAccountId(Long setAccountId){
    this.setAccountId = setAccountId;
    }

    /**
    * 当日转账金额
    */
    private void setDailyTransferAmount(BigDecimal dailyTransferAmount){
    this.dailyTransferAmount = dailyTransferAmount;
    }


    /**
    * ID
    */
    private Integer getAccountId(){
    return this.accountId;
    }

    /**
    * 账户名称
    */
    private String getCashName(){
    return this.cashName;
    }

    /**
    * 币别id
    */
    private Integer getCurrencyId(){
    return this.currencyId;
    }

    /**
    * 会计科目Id
    */
    private Integer getItemsId(){
    return this.itemsId;
    }

    /**
    * 初始金额
    */
    private BigDecimal getInitialAmount(){
    return this.initialAmount;
    }

    /**
    * 1:现金  2：银行
    */
    private Integer getAcStatus(){
    return this.acStatus;
    }

    /**
    * 账套id
    */
    private Long getSetAccountId(){
    return this.setAccountId;
    }

    /**
    * 当日转账金额
    */
    private BigDecimal getDailyTransferAmount(){
    return this.dailyTransferAmount;
    }

}
